/* Template styles (not custom bootstrap styles)
-- Styles start with smallest (phone size) and go up to largest (so media queries should use min-width)
-- colors are set in individual color css files  */

/* initial styles */

.main-header {
	max-width: 100%;
	margin-right: 0;
	padding: 10px 0;
	padding-right: 0;
}

#member-logo {
	max-width: 100px;
	clear: none;
	display: block;
	float: left;
	font-weight: normal;
	margin: 0 .75em 1em 0;
}

#business {
	margin-top: -20px;
	line-height: .8em;
	padding: 5px 0px 10px 0px;
	font-size: 2.5em;
	font-family: Georgia, "Times New Roman", Times, serif;
	text-decoration: none;
}

#tagline {
	clear: both;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 1em;
}

.main-background {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	padding-right: 0;
}

.central-container {
	background: #fff url(../img/panel-top.jpg) top right no-repeat;
	background-size: 100%;
	border-right: 2px solid #fff;
	padding-right: 1em;
	margin-top: -1.5em;
}

.central-content {
	margin-top: 0;
	padding-top: 5em;
	width: 100%;
}

.central-content ul li {
	margin-left: 0;
	margin-right: .5em;
}

.central-content .gift-cert-button {
    margin-top: 1em;
}

.title-social-wrapper {
	width: 100%;
	float: left;
	overflow: hidden;
	margin-bottom: 1em;
}

.title {
	display: inline-block;
	max-width: 100%;
}

.social-right {
	float: right;
	clear: none;
	text-align: right;
	max-width: 100%;
}

.social-right a img {
	float: right;
	display: inline;
	padding-left: .5em;
}

.social-tagline {
	margin-top: 1em;
	margin-left: 0;
}

.social-menu-mobi {
	padding-top: 0;
	padding-bottom: 1em;
	text-align: center;
	margin-bottom: 1em;
}

.social-menu {
	display: none;
}

.social-footer {
	margin-bottom: .5em;
	padding-right: 1em;
}

.social-footer a img,
.social-menu a img,
.social-menu-mobi a img,
.social-tagline a img {
	padding-left: .5em;
}

.specials-box-mobile {
	clear: both;
	padding: 5px 10px;
	margin-bottom: 1em;
	margin-top: 1.5em;
	overflow: hidden;
}

.main-background div.col-sm-3 {
	width: 100%;
	padding-left: 0;
	padding-bottom: 0;
	padding-right:0;
	margin-bottom: 0;
	border-right: none;
}

.specials-box {
	display: none;
}

#abmp-logo a {
	border: none;
}

#abmp-logo-mobile {
	display: block;
	margin: 1.5em auto;
	text-align: center;
}

.copyright {
	display: block;
	width: 100%;
	text-align: center;
	color: #fff;
	margin-top: .5em;
}

#pac-webbuilder-contact .form-wrapper {
	padding-top: 1.5em;
}

#pac-webbuilder-contact label {
	clear: both;
	float: left;
	width: 100%;
	margin-bottom: 1em;
}

#pac-webbuilder-contact select,
#pac-webbuilder-contact input,
#pac-webbuilder-contact textarea {
	float: left;
	margin-bottom: 1em;
	width: 100%;
}

#pac-webbuilder-contact textarea {
	max-width: 60%;
}

#pac-webbuilder-contact #edit-contact-email,
#pac-webbuilder-contact #edit-contact-comment {
	max-width: 98%;
}

#pac-webbuilder-contact legend {
	display: none;
}

#pac-webbuilder-contact input[type=submit] {
	clear: both;
	max-width: 5em;
}

#recaptcha_area {
	display: -moz-inline-box; /* this keeps the captcha from dipslaying in the upper right corner in firefox */
	clear: both;
	margin-left: -25px;
	margin-bottom: 1em;
	float: left;
}

#googmap {
	overflow: hidden; /* keeps map content within the div */
}

.table-responsive { /* this only works for 768px and smaller */
	width: auto;
	max-width: 100%;
	margin-top: 1em;
	clear: both;
	border: none; /* clear the outer border */
	border-bottom: 1px solid #ddd;
}

	@-moz-document url-prefix() { /* fix responsive table rendering in Firefox */
		fieldset {
			display: table-cell;
		}
	}

a#opengallery {
	margin-bottom: 1em;
}

a#opengallery img {
	max-width: 80%;
	margin-top: 1em;
}

.video-responsive {
	max-width: 100%;
	margin-bottom: 2em;
}

.video-responsive-iframe {
}


@media (min-width: 320px) and (max-width: 768px) {
	
	/* make images with inline height/width responsive */
	.central-content img[style],
	.central-content img {
		max-width: 100% !important;
		width: auto;
		/*height: auto !important;*/ /* do not add back - it doesn't work right */
		margin-right: 1em;
	}
	
	/* replacing comic-sans font with google fonts Short Stack on android and ios (see JS ) */
	.replace-font-mobile {
		font-family: 'Short Stack' !important;
		/*font-size: 90%;*/ /* this font is slightly larger than comic sans, so decrease size */
	}

	
}


@media (min-width: 320px) { /* iphone 5s */

	.main-header {
		padding-left: 1em;
	}
	
	.inner-header {
		width: 100%;
	}
	
	.central-content {
		padding-top: 7em;
	}
	
	.inner-content-block,
	body > div.container-fluid > div.row.main-background > div.col-sm-9.central-container > div > div.row.inner-content-block {
		clear: both;
	}
	
	.center-main-content {
		width: 100%;
	}
	
	#business {
		max-width: 100%;
		line-height: 1em;
	}
	
	#tagline {
		margin-left: 0;
		max-width: 100%;
		clear: none;
	}
	
	#abmp-logo {
		display: none;
	}

	.main-background div.col-sm-9 {
		border-left: 0;
	}
	
	table.hours-and-scheduling	 {
		font-size: 1em;
	}
	
	
	.central-content p {
		clear: both;
		font-size: 1.2em;
	}
	
	.central-content ul li {
		font-size: 1.2em;
	}
	
	.specials-box-mobile img,
	.specials-box img {
		margin: .5em;
	}
	
	table.hours-and-scheduling	 {
		font-size: 1em;
		max-width: 90%;
	}
	
	.online-sched {
		display: block;
		float: left;
		clear: none;
		max-width: 100%;
		margin-bottom: 2em;
	}
	
	.spacer {
		clear: both;
	}
	
}

@media (min-width: 360px) { /* Samsung Galaxy S4 portrait */
	.inner-header {
		padding: 0;
		width: 100%;
		margin: 0 1em;
		padding-right: .5em;
	}

	.main-background div.col-sm-3 {
		width: 100%;
	}

	#tagline {
		font-size: 1.2em;
		margin-bottom: 1em;
	}

	#member-logo {
		margin-left: -1em;
		margin-left: 0;
	}

	#recaptcha_area {
		margin-left: -.5em;
	}
	
}

@media (min-width: 480px) { /* HTC phone, iphone 5, & iPhone 4 landscape */

	.main-background div.col-sm-3 {
		width: 100.75%;
	}

	.central-content {
		padding-top: 12em;
	}

	#recaptcha_area {
		margin-left: 0;
	}
	
}

@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2) { /* iPhone 5 & 5s portrait and landscape */

	#member-logo {
		width: 100px;
		display: block;
	}
}

@media (min-width: 600px) { /* Nook, Kindle, Samsung Tab 7 portrait */
	.inner-header {
		width: 94%;
	}

	.central-content {
		padding-top: 14em;
	}

	.main-background div.col-sm-3 {
		width: 100%;
	}
	
}

@media (min-width: 640px) { /* Samsung Galaxy S4 landscape portrait, Samsung Galaxy S4 landscape */
	#pac-webbuilder-contact label {
		width: 30%;
	}
}

@media (min-width: 768px) { /* HP touchpad, iPad Mini portrait */ /* 770px = Samsung Note 10, Nexus 10, Kindle Fire portrait */

	div.row.main-background {
		max-width: 94%;
	}

	.main-header {
		width: 95%;
		margin: 0 0 .75em 0;
		padding: 10px 0 10px .75em;
	}
	
	.inner-header {
		width: 100%;
		padding-left: .75em;
	}

	.main-header div {
		padding: 0;
	}

	.main-background div.col-sm-9 {
		max-width: 94%;
		margin-bottom: 0;
	}

	.main-background div.col-sm-3 {
		width: 213px;
		padding-left: 0;
		padding-bottom: 0;
		margin-bottom: 0;
		height: 100%;
	}

	.central-container {
		float: right;
		width: 69.5%;
		max-width:100%;
		margin-top: 0;
		padding-right: 0;
	}

	.central-content {
		padding-top: 12em;
		max-width: 100%;
		margin-bottom: 2em;
		padding-bottom: 0;
		
	}
	
	.inner-content-block {
		margin-left: -18px;
	}
	
	.central-content p,
	.central-content ul li {
		font-size: 1em;
	}

	#member-logo {
		max-width: 100px;
		clear: none;
		display: inline-block;
		float: left;
		font-weight: normal;
		margin: 0 .75em 1em 0;
	}

	#business  {
		margin-top: .5em;
	}
	
	.social-tagline {
		clear: both;
		max-width: 100%;
		margin-top: 1em;
	}

	.social-footer {
		max-width: 100%;
		width: 50%;
		margin: 0 auto 1em 2em;
		float: right;
		text-align: right;
	}

	.social-menu-mobi {
		display: none;
	}

	.social-menu {
		display: block;
		width: 100%;
		margin-bottom: 1em;
		padding-top: 1em;
		padding-bottom: 1em;
		text-align: left;
	}

	.social-tagline a,
	.social-menu a,
	.social-footer a {
		display: inline;
	}

	.social-tagline a img,
	.social-footer a img {
		padding-right: 0;
	}

	.social-menu a img {
		padding-right: 0;
	}

	#abmp-logo-mobile {
		display: none;
	}

	#abmp-logo {
		clear: both;
		display: block;
		text-align: center;
		margin-top: 2em;
	}
	
	.abmp-logo-image {
		margin-left: auto;
		margin-right: auto;
	}
	
	#abmp-logo a,
	#abmp-logo-mobile a {
		border: none;
	}
	
	table.hours-and-scheduling {
		white-space: nowrap;
		overflow: auto;
		max-width: 100%;
	}
	
	.table-responsive {
		margin-bottom: 2em;
	}
	
	.online-sched {
		margin-top: 1em;
	}
	
	.spacer {
		clear: none;
		margin-right: .5em;
	}
	
	contact select,
		#pac-webbuilder-contact input,
		#pac-webbuilder-contact textarea {
			width: 50%;
	}

}

@media (min-width: 990px) {
	
	.main-header {
		max-width: 900px;
		padding-right: 0;
		padding-left: 0;
		margin-left: auto;
		margin-right: auto;
	}

	.inner-header {
		width: 100%;
		padding-left: 0;
		margin-left: 0;
	}
	
	.social-tagline {
		clear: none;
	}

	div.row.main-background {
		max-width: 900px;
	}

	.central-container {
		width: 76%;
	}

	.central-content {
		margin-top: 80px;
		overflow: hidden; /* to make the box cover 100% height, so the left border extends 100% of height */
		padding-right: .75em;
	}
	
	div.col-sm-3.center-right-content {
		max-width: 29%;
		margin-right: .25em;
	}
	
	div.col-sm-9.center-main-content {
		width: 70%;
		display: inline-block;
	}
	
	.central-content p { /* needs to clear left due to right aligned specials box */
		clear: left;
	}
	
	.table-responsive {
		border: 1px solid transparent;
		clear: both;
		float: none;
		max-width: 100%;
	}
	
	.central-content table {
		clear: none;
		width: auto;
		max-width: 100%;
		border-bottom: 1px solid #ddd;
	}
	
	table.hours-and-scheduling {
		clear: none;
		max-width: 100%;
		margin-top: 0;
	}
	
	.online-sched {
		max-width: 100%;
	}
	
	#pac-webbuilder-contact select,
	#pac-webbuilder-contact input,
	#pac-webbuilder-contact textarea {
		width: 60%;
	}
	
	.social-menu {
		padding-left: .5em;
	}
	
	.specials-box-mobile {
		display: none;
	}

	.specials-box {
		display: block;
		float: right;
		width: 100%;
		margin-top: 0;
		margin-left: 1em;
		margin-bottom: 1em;
		padding: 5px 10px;
	}
	
	.replace-font-mobile {
		font-family: 'comic sans ms' !important;
	}

	
}

@media (min-width: 1200px) {
}
